package org.ww.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.ww.common.utils.R;

/**
 * @program: gmall
 * @description: 购物车
 * @author: ww
 * @create: 2024-05-27 11:14
 **/

@FeignClient("gmall-product")
public interface ProductFeignService {

    @PostMapping("/product/spuinfo/skuId/{id}")
    R getSpuInfoBySkuId(@PathVariable("id") Long skuId);

}
